﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SomeRandomGame.Graphics;
using SomeRandomGame.Interfaces;
using SomeRandomGame.Utility;

namespace SomeRandomGame
{
    public class StandardLevelManager: ILevelManager
    {
        private readonly ILevel level1;

        public StandardLevelManager( IContentFactory contentFactory )
        {
            level1 = (ILevel)contentFactory.Get( Constants.Content.Levels.ONE );
        }

        public IEnumerable<ILevel> GetAllLevels()
        {
            yield return level1;
        }

        public ILevel GetNextLevel()
        {
            return level1;
        }
    }
}
